package com.huaao.micropolice.core.service.system;

import java.util.List;

import com.huaao.micropolice.core.common.page.GridPage;
import com.huaao.micropolice.core.common.page.Page;
import com.huaao.micropolice.core.model.system.User;

public interface UserService {

	User findByUsername(String username);

	Page findByUserLike(String username,GridPage gridPage);
	
	String save(User user) throws Exception;
	
	User findByUserid(String uid);
	
	void updateUser(User user)  throws Exception;
	
	void del(String id)  throws Exception;
	
	void resetPassword(String[] id);

	List<User> findByDeptId(String id);
	
	List<User> findByJobsId(String id);

	void addUser(User user);
}
